package cn.jiahua.hospital.constants;

/**
 * @ClassName MathUtil
 * @Description TODO
 * @Author yaozhaobao
 * @Date 2021/4/5 9:11
 * @Version 1.0
 **/
public class MathUtil {

    public static String randomCode() {
        //1000-9999
        Integer random = (int) ((Math.random() * 9 + 1) * 1000);
        return random.toString();
    }


}
